export const ChangePageMixin = {
    data(){
        return{
            pagePath:{
                1:'/home',
                2:'/symptoms'
            }
        }
    },
    methods: {
        changePage(page) {
            this.$router.push({
                path: this.pagePath[page]
            })
        }
    }
}